<ion-view title="嘱托详情">
    <ion-nav-buttons side="left">
        <a href="javascript:history.back(-1)" class="button button-icon icon ion-ios-arrow-back" nav-direction="back"></a>
    </ion-nav-buttons>
    <ion-content>
        <table class="parantInfo-class">
            <tbody>
            <tr>
                <td width="25%"></td>
                <td width="75%"></td>
            </tr>
            <tr>
                <td>小孩名字：</td>
                <td>{{vm.entrust.toEntrustChildName}}</td>
            </tr>
            <tr>
                <td>嘱托时间：</td>
                <td>{{vm.entrust.entrustTime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
            </tr>
            <tr>
                <td>执行状态：</td>
                <td>{{vm.entrust.entrustState == 'execute' ? '已执行' : '未执行'}}</td>
            </tr>
            <tr>
                <td>嘱托详情：</td>
                <td>{{vm.entrust.entrustContent}}</td>
            </tr>
            </tbody>
        </table>
        <div class="padding" ng-show="vm.entrust.entrustState != 'execute'">
            <button type="button" ng-disabled="vm.disableSubmitBtn" ng-click="executeEntrust()" class="button button-dark button-full">确认已执行嘱托</button>
        </div>
    </ion-content>
</ion-view>